#ifndef REALTIMEVIDEOPLAYER_H
#define REALTIMEVIDEOPLAYER_H

#include "player.h"

class RealtimeVideoPlayer : public QObject, public Player
{
	Q_OBJECT
public:
	static const QString VideoSocketName;
	static const QString AudioSocketName;
    RealtimeVideoPlayer();

	PlayerType type() const;
	void dispose();
	bool playOn(const ValuePacket &values, QWidget *target, QString *errorStr);
	void showMe();
	void hideMe();
public slots:
	void setVolume(float volume);

};

#endif // REALTIMEVIDEOPLAYER_H
